﻿<Window
	x:Class="ComboBoxTestHarness.MainWindow"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Title="MainWindow"
	Width="300"
	Height="250"
>
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<ComboBox Grid.Row="0" Width="200" Height="41" VerticalAlignment="Top" Margin="25" SelectedIndex="0">
			<Grid>
				<StackPanel Orientation="Horizontal" Margin="5">
					<Rectangle Width="25" Height="25" Fill="DarkBlue"/>
					<TextBlock VerticalAlignment="Center" Margin="5,0,0,0" Text="foo"/>
				</StackPanel>
			</Grid>
			<Grid>
				<StackPanel Orientation="Horizontal" Margin="5">
					<Rectangle Width="25" Height="25" Fill="DarkRed"/>
					<TextBlock VerticalAlignment="Center" Margin="5,0,0,0" Text="bar"/>
				</StackPanel>
			</Grid>
			<Grid>
				<StackPanel Orientation="Horizontal" Margin="5">
					<Rectangle Width="25" Height="25" Fill="DarkGreen"/>
					<TextBlock VerticalAlignment="Center" Margin="5,0,0,0" Text="fubar"/>
				</StackPanel>
			</Grid>
		</ComboBox>
		<Button Grid.Row="1" Width="200" Height="41" Content="Hello World"/>
	</Grid>
</Window>
